import http from '@/utils/http'

export const getClassPage = (params) => http.post('/api/class/pager', { ...params })

export const getClassList = (params) => http.post('/api/class/list', { ...params })

export const getClassDetail = (params) => http.post('/api/class/get', { ...params })

export const addClass = (params) => http.post('/api/class/add', { ...params })

export const updateClass = (params) => http.post('/api/class/update', { ...params })

export const deleteClass = (params) => http.post('/api/class/delete', { ...params })
